package object;

import java.util.Date;
import java.util.logging.Logger;

/**
 *
 * @author khiem-18.4
 */
public class AccountDetail extends AccountSignin {

    private String firstName;
    private String lastName;
    private boolean sex;
    private Date birthday;
    private int imageID;
    private String email;
    private String address;
    private String question;
    private String answer;
    private int permissionID;
    private boolean activated;
    private boolean deleted;
    private Date modifiedDate;

    public AccountDetail() {
    }

    public AccountDetail(
            String username,
            String password,
            String firstName,
            String lastName,
            boolean sex,
            Date birthday,
            int imageID,
            String email,
            String address,
            String question,
            String answer,
            int permissionID,
            boolean activated,
            boolean deleted,
            Date modifiedDate) {
        super(username, password);
        this.firstName = firstName;
        this.lastName = lastName;
        this.sex = sex;
        this.birthday = birthday;
        this.imageID = imageID;
        this.email = email;
        this.address = address;
        this.question = question;
        this.answer = answer;
        this.permissionID = permissionID;
        this.activated = activated;
        this.deleted = deleted;
        this.modifiedDate = modifiedDate;
    }

    public boolean isActivated() {
        return activated;
    }

    public void setActivated(boolean activated) {
        this.activated = activated;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public int getImageID() {
        return imageID;
    }

    public void setImageID(int imageID) {
        this.imageID = imageID;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public Date getModifiedDate() {
        return modifiedDate;
    }

    public void setModifiedDate(Date modifiedDate) {
        this.modifiedDate = modifiedDate;
    }

    public int getPermissionID() {
        return permissionID;
    }

    public void setPermissionID(int permissionID) {
        this.permissionID = permissionID;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public boolean isSex() {
        return sex;
    }

    public void setSex(boolean sex) {
        this.sex = sex;
    }

    private static final Logger LOG = Logger.getLogger(AccountDetail.class.getName());
}
